package com.lannuokeji.biz.items.service.impl;

import com.lannuokeji.biz.items.entity.LabCourse;
import com.lannuokeji.biz.items.mapper.LabCourseMapper;
import com.lannuokeji.biz.items.service.LabCourseService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 实验课程 服务实现类
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
@Service
public class LabCourseServiceImpl extends ServiceImpl<LabCourseMapper, LabCourse> implements LabCourseService {

	@Override
	public Page pageWithChildren(Page page, LabCourse apply) {
		return page.setRecords(baseMapper.page(page, apply));
	}

}
